package com.sqy.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value=" 分类对象", description="")
@TableName("product")
public class Product {


    @TableId(value = "id", type = IdType.AUTO)
    private   Integer id;

    private   String title;

    private  String name;

    private  Integer parentId;

    private  String imgUrl;

}
